package com.core.quartz.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class SpringJob extends QuartzJobBean{

	public void execute(){
		
		System.out.println("执行任务---------------");
	}

	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		execute();
		
	}
	
}
